<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/index.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/ghulam.js"></script>
<link rel="stylesheet" href="__PUBLIC__/Css/public.css" />
<link rel="stylesheet" href="__PUBLIC__/Css/index.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<base target="iframe"/>
<head>
    <title><?php echo (C("WEB_NAME")); ?></title>
    <style type="text/css">
        .top_left_ul li{
            float: left;
            border-right: 1px solid #121010;
        }
    </style>
</head>
<body style=" min-width: 980px">
<div class="top" style="width: 100%; height: 90px;background-color: #222222; min-width: 1000px; float: left">
<div class="top_left" style="width: 80%; height: 100%; background-color: #222222;min-width: 800px; float: left;overflow: hidden">
    <ul style="float: left" class="top_left_ul">
        <li style="width: 200px;text-align: center;">  <p class="btn_top" style="font-size: 18px"><?php echo (C("WEB_NAME")); ?></p></li>
        <li class="top_li"><p id="button_1" class="btn_top">系统管理</p></li>
        <li class="top_li"><p id="button_2" class="btn_top">管理员管理</p></li>
        <li class="top_li"><p id="button_3" class="btn_top">会员管理</p></li>
        <li class="top_li"><p id="button_6" class="btn_top">栏目管理</p></li>
        <li class="top_li"><p id="button_4" class="btn_top">内容管理</p></li>
        <li class="top_li"><p id="button_7" class="btn_top">友情链接管理</p></li>
        <li class="top_li"><p id="button_5" class="btn_top">成绩管理</p></li>
        <li class="top_li"><p id="button_8" class="btn_top">留言管理</p></li>
    </ul>
</div>
    <div class="top_right" style="width: 17%;min-width: 180px; float: right; height: 100%;background-color: #222222;padding-right: 30px">
        <ul class="nav navbar-nav pull-right" style=" float: right" >
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="padding-top: 33px;background-color: #222222;"><b>欢迎：</b> <?php echo (session('username')); ?> <b class="caret"></b></a>
                <ul class="dropdown-menu" style="">
                    <li><a href="<?php echo U(GROUP_NAME.'/Index/admin_info');?>">
                        <i class="glyphicon glyphicon-user"></i> 修改自己信息</a></li>
                    <li><a href="<?php echo U(GROUP_NAME.'/Index/admin_pwd');?>">
                        <i class="glyphicon glyphicon-lock"></i> 修改密码</a></li>
                    <li class="divider"></li>
                    <li onclick="location.replace(location.href);"><a href="<?php echo U(GROUP_NAME.'/Index/logout');?>" ><i class="glyphicon glyphicon-off"></i> 注销</a></li>
                </ul>
            </li>
        </ul>
    </div>
</div>
	<div id="left">
    <div class="sid_menu  lefe_menu">
    <div class="panel-group group_1" id="accordion_1">

        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseTwo—3">
                        角色
                    </a>
                </h4>
            </div>
            <div id="collapseTwo—3" class="panel-collapse collapse in">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/role');?>">角色列表</a></p>

                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/addRole');?>">添加角色</a></p>
                </div>
            </div>
        </div>
        <!--权限设置栏目只能程序员使用-->
        <!--<div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseThree—3">权限
                    </a>
                </h4>
            </div>
            <div id="collapseThree—3" class="panel-collapse collapse">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/node');?>">权限列表</a></p>

                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/addNode');?>">添加权限</a></p>
                </div>
            </div>
        </div>-->
        <!--权限设置栏目只能程序员使用-->
        <div class="panel panel-default">
        <div class="panel-heading">
            <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion"
                   href="#collapsefore—3">系统设置
                </a>
            </h4>
        </div>
        <div id="collapsefore—3" class="panel-collapse collapse">
            <div class="panel-body">


                <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/email');?>">邮箱设置</a></p>
                <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/sestem');?>">网站信息</a></p>
                <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/school_masters',array('select'=>1));?>">校长信息</a></p>
                <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/school_masters',array('select'=>0));?>">书记信息</a></p>
                <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/miusic',array('select'=>0));?>">首页音乐</a></p>
            </div>
        </div>
    </div>
    </div>
    <div class="panel-group group_4" id="accordion_4">
        <?php if(is_array($cate)): foreach($cate as $k=>$v): ?><div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion"
                           href="#collapse<?php echo ($k); ?>—1">
                            <b style="color: #3036ff"><?php echo ($v['name']); ?></b>
                        </a>
                    </h4>
                </div>
                <div id="collapse<?php echo ($k); ?>—1" class="panel-collapse collapse"> <div class="panel-body">
                <?php if(is_array($v["child"])): foreach($v["child"] as $kk=>$ch): ?><p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Content/index',array('cat_name'=>$ch['en_name']));?>"><?php echo ($ch['name']); ?></a></p><?php endforeach; endif; ?>
                </div>
                </div>
            </div><?php endforeach; endif; ?>
    </div>
    <div class="panel-group group_3" id="accordion_3">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseOne—2">
                        会员中心
                    </a>
                </h4>
            </div>
            <div id="collapseOne—2" class="panel-collapse collapse in">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Member/index');?>">会员列表</a></p>

                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Member/addmember');?>">添加会员</a></p>
                </div>
            </div>
        </div>

    </div>
    <div class="panel-group group_2" id="accordion_2">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseOne—3">
                        管理员用户
                    </a>
                </h4>
            </div>
            <div id="collapseOne—3" class="panel-collapse collapse in">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/index');?>">管理员列表</a></p>

                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Rbac/addUser');?>">添加管理员</a></p>
                </div>
            </div>
        </div>
    </div>
    <div class="panel-group group_6" id="accordion_6">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseOne—6">
                        栏目管理
                    </a>
                </h4>
            </div>
            <div id="collapseOne—6" class="panel-collapse collapse in">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Category/index');?>">栏目列表</a></p>

                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Category/addcategory');?>">添加栏目</a></p>
                </div>
            </div>
        </div>
    </div>
    <div class="panel-group group_8" id="accordion_8">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseOne—8">
                        留言管理
                    </a>
                </h4>
            </div>
            <div id="collapseOne—8" class="panel-collapse collapse in">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Replay/show');?>">已恢复</a></p>
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Replay/index');?>">未回复</a></p>
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Replay/add');?>">添加解答</a></p>
                </div>
            </div>
        </div>
    </div>
    <div class="panel-group group_5" id="accordion_5">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseOne—5">
                        成绩管理
                    </a>
                </h4>
            </div>
            <div id="collapseOne—5" class="panel-collapse collapse in">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Excel/index');?>">导入成绩表</a></p>
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Excel/see');?>">查看成绩</a></p>
                </div>
            </div>
        </div>
    </div>
    <div class="panel-group group_7" id="accordion_7">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion"
                       href="#collapseOne—7">
                        友情链接管理
                    </a>
                </h4>
            </div>
            <div id="collapseOne—7" class="panel-collapse collapse in">
                <div class="panel-body">
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Link/index');?>">友情链接列表</a></p>
                    <p class="panel-success"><a href="<?php echo U(GROUP_NAME.'/Link/addlink');?>">添加友情链接</a></p>

                </div>
            </div>
        </div>
    </div>
    </div>
	</div>
	<div id="right">
		<iframe name="iframe" src="<?php echo U(GROUP_NAME.'/Index/info');?>"></iframe>
	</div>
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="__PUBLIC__/bootstrap/css/button.css" rel="stylesheet">
    <script src="__PUBLIC__/bootstrap/js/jquery-1.9.1.js"></script>
    <script src="__PUBLIC__/bootstrap/js/bootstrap.js"></script>
</body>
</html>